package com.qumitech.visualnovel.service.version;

import com.qumitech.visualnovel.model.dto.VersionDTO;

import java.util.Map;

/**
 * @Auther: yilu
 * @Date: 2019/1/15 11:48
 * @Description:
 */
public interface VersionCfgService {

    Map<String, Object> addVersion(VersionDTO versionDTO);

    /**
     * 根据版本号删除version
     * @param dto
     */
    Map<String, Object> deleteVersion(VersionDTO dto);
    Map<String, Object> updateVersion(VersionDTO versionDTO);

    /**
     * 分页查看版本信息
     * @param limit
     * @param offset
     * @param phoneType
     * @return
     */
    Object getVersion(Integer limit, Integer offset, Byte phoneType);
}
